﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Eleanor.Website.Utility
{
    public class PikaQUtility
    {
        public static bool IsPikaQRequest(HttpRequest request)
        {
            return !string.IsNullOrWhiteSpace(request.Headers["pickq"]);
        }

        public static bool IsPikaQRequest(HttpRequestBase request)
        {
            return !string.IsNullOrWhiteSpace(request.Headers["pickq"]);
        }
    }
}